package com.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dao.UserDao;
import com.service.UserService;

@Service
public class UserServiceImpl implements UserService{
	@Autowired
	public UserDao dao;
	public void test(){
//		dao.test();
	}
	public boolean verifyUser(Map map){
		if(map.get("uname")==null||map.get("upwd")==null){
			return false;
		}
//		List list=dao.select("query/orm/demo", map);
//		if(list.size()==1) return true;
		else return false;
	}
}
